package org.sixtynine.stock.service;

/**
 * @author Thilan
 *
 */

import java.util.List;

import org.sixtynine.stock.dto.GridPramDTO;
import org.sixtynine.stock.dto.Page;
import org.sixtynine.stock.entity.QuarterlyShareData;

public interface QuarterlyShareDataService {

	QuarterlyShareData findById(int id);

	void saveQuarterlyShareData(QuarterlyShareData quarterlyShareData);

	void deleteQuarterlyShareData(int id);

	List<QuarterlyShareData> findQuarterlyShareData(int companyId);

	List<QuarterlyShareData> searchQuarterlyShareData(int companyId,
			int fromDate, int toDate, String quarterCode, String orderBy,
			String orderByName);

	Page<QuarterlyShareData> searchQuarterlyShareData(int companyId,
			String companyName, int fromDate, int toDate, String quarterCode,
			String orderBy, String orderByName, GridPramDTO gridPramDTO);

	public void deleteQuarterlyShareData(int companyId, int fromYear,
			int toYear, String quarterCode);

}
